package com.ethink.warehouse.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.math.BigDecimal;
import com.ethink.framework.common.db.SuperEntity;

/**
 * 库存矫正记录 数据库实体
 *
 * @author default
 * @date 2022-11-18
 */
@Data
@TableName("t_mate_inventory_adjust_log")
public class MateInventoryAdjustLog extends SuperEntity {

    public static final String ORDER_NO ="order_no";

    public static final String SUB_WAREHOUSE_CODE ="sub_warehouse_code";

    public static final String SUB_WAREHOUSE_NAME ="sub_warehouse_name";

    public static final String ORDER_STATUS ="order_status";

    public static final String ADJUST_TYPE ="adjust_type";

    public static final String ADJUST_REASON ="adjust_reason";

    public static final String CREATE_USER_CODE ="create_user_code";

    public static final String CREATE_USER_NAME ="create_user_name";

    public static final String TOTAL_QUANTITY ="total_quantity";

    public static final String TOTAL_COST ="total_cost";


    /** 矫正单号 */
    private String orderNo;

    /** 分仓编号 */
    private String subWarehouseCode;

    /** 分仓名称 */
    private String subWarehouseName;

    /** 枚举 订单状态:1-草稿(s1)|2-待审批(s2)|3-完成(s3) */
    private Integer orderStatus;

    /** 枚举 类型:1-批次矫正(t1) */
    private Integer adjustType;

    /** 原因 */
    private String adjustReason;

    /** 操作人账号 */
    private String createUserCode;

    /** 操作人名称 */
    private String createUserName;

    /** 审核人账号 */
    private String auditUserCode;

    /** 审核人名称 */
    private String auditUserName;

    /** 操作数量 */
    private Integer totalQuantity;

    /** 成本总价 */
    private BigDecimal totalCost;

}
